package request

type AddArticle struct {
	Title   string `json:"title" form:"title" binding:"required" `
	FileUrl string `json:"file_url" form:"file_url" binding:"required"`
	Intro   string `json:"intro" form:"intro" binding:"required"`
}
type AddArticleGood struct {
	UserId    int64 `json:"user_id" form:"user_id" binding:"required" `
	ArticleId int64 `json:"article_id" form:"article_id" binding:"required"`
}
type AddArticleReview struct {
	UserId    int64  `json:"user_id" form:"user_id" binding:"required" `
	ArticleId int64  `json:"article_id" form:"article_id" binding:"required"`
	Context   string `json:"context" form:"context" binding:"required"`
	Id        int64  `json:"id" form:"id" binding:"required" `
}
type ResAddArticleReview struct {
	UserId    int64  `json:"user_id" form:"user_id" binding:"required" `
	ArticleId int64  `json:"article_id" form:"article_id" binding:"required"`
	Context   string `json:"context" form:"context" binding:"required"`
}
type ReviewGood struct {
	UserId    int64 `json:"user_id" form:"user_id" binding:"required" `
	ArticleId int64 `json:"article_id" form:"article_id" binding:"required"`
	ReviewId  int64 `json:"review_id" form:"review_id" binding:"required"`
}
type ArticleReviewDel struct {
	Id int64 `json:"id" form:"id" binding:"required" `
}
type ReviewGoodDel struct {
	Id int64 `json:"id" form:"id" binding:"required" `
}
